/*
 * Created on Feb 15, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package org.vectrics.recruiter.struts;

import java.util.Collection;
import javax.servlet.jsp.JspException;
import org.vectrics.provider.CoreServiceLocator;
import org.vectrics.struts.VectricsStrutsAction;
import org.vectrics.struts.VectricsActionData;

/**
 * @author MMoore
 */
public class ShowNewUserEditAction extends VectricsStrutsAction {

	/* (non-Javadoc)
	 * @see org.vectrics.struts.VectricsAction#doExecute(org.vectrics.struts.VectricsActionData)
	 */
	protected String doExecute(VectricsActionData actionData)
			throws JspException {
		
		Collection passwordHintQuestions =
			CoreServiceLocator.getPersonService().findAllPasswordHintQuestions();
		actionData.getRequest().setAttribute("hintQuestions", passwordHintQuestions);
		return("success");
	}
	
}
